<!DOCTYPE html>
<html lang="en">
<head>
    <include file="Common/top"/>
    <include file="Common/import_plugins"/>
    <link rel="stylesheet" href="/Public/Home/css/scenic_spot_info.css">
    <style>
        #btn_yuding {
            display: block;
            float: right;
            text-align: center;
            width: 50px;
            height: 20px;
            line-height: 20px;
            margin-top: 14px;
            margin-left: 5px;
            color: #FFF;
            background-color: #ff4400;
        }
    </style>
</head>
<body>
<div id="mask"></div>
<div class="btns">
    <div class="btn fl back">
        <a href="javascript:history.go(-1);">
            <i class="layui-icon">&#xe603;</i>
        </a>
    </div>

    <div class="btn fr share">
        <i class="layui-icon">&#xe641;</i>
    </div>

    <div class="btn fr love">
        <i class="layui-icon">&#xe600;</i>
    </div>
</div>
<div class="layui-carousel" id="banner">
    <div carousel-item>
        <div><img src="{:thumb($info['thumb'])}" height="100%"></div>
    </div>
</div>
<div class="ltitle">
    <div class="title_text">{$info.title}</div>
</div>
<!--
<div class="info layui-row clear">
    <div class="box">
        <div class="layui-col-xs6">
            <div class="info1 bg_c">
                <a href="{:U('description' , array('uuid'=>$info['uuid']))}">
                    <div class="jd_title">
                        景点介绍
                    </div>
                    <div class="start_date">
                        开放时间 优待政策
                    </div>
                </a>
            </div>
        </div>
        <div class="layui-col-xs6">
            <div class="info2 bg_c">
                <div class="achievement">
                    <span class="score">4.6分</span>
                    <span class="recommend">97%推荐</span>
                </div>
                <div class="comment">
                    172条评论
                </div>
            </div>
        </div>
    </div>
    <div class="address bg_c">
        <i class="layui-icon">&#xe715;</i> <span>{$info.address}</span>
    </div>
</div>
-->
<div class="tickets mt10">
    <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
        <ul class="layui-tab-title">
            <li class="layui-this">景点门票</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <ul class="tickets_list">
                    <volist name="ticket_list" id="vo">
                        <if condition="$vo['status'] eq '1'">
                            <li>
                                <span class="ticket_text">{:cut_str($vo['title'])}</span>
                                <if condition="$vo['retail_price'] neq '无票价'">
                                    <a href="{:U('pay',array('uuid'=>I('uuid'),'aid'=>$vo['aid'],'pid'=>$vo['pid']))}">
                                        <span class="tprice">
                                            <span class="tip">
                                                <if condition="$vo['dhour'] neq '23:59'">
                                                    {$vo.dhour}之前预购
                                                </if>
                                                <s>￥{$vo.tprice}</s>
                                            </span>
                                            <span>￥</span><span class="price">{$vo.retail_price}</span>
                                            <span id="btn_yuding">预订</span>
                                        </span>
                                    </a>
                                    <else/>
                                    <span class="price fr">
                                        无票价
                                    </span>
                                </if>
                            </li>
                        </if>
                    </volist>
                </ul>
            </div>
        </div>
    </div>
</div>

<div class="description mt10">
    <div class="title">
        门票预订说明
    </div>
    <div class="content">
        {:format_str($info['jqts'])}
    </div>
</div>
<script>
    layui.use(['carousel', 'layer'], function () {
        var carousel = layui.carousel;
        //建造实例
        carousel.render({
            elem: '#banner',
            width: '100%',
            arrow: false,
            autoplay: true,
            interval: 5000
        });
    });
</script>
<div style="height: 65px"></div>
<include file="Common/nav_foot"/>
</body>
</html>